package server;

import java.util.Scanner;

import model.Message;

class ServerView
{
	private Scanner scanner;
	
	public ServerView()
	{
		this.scanner = new Scanner(System.in);
	}
	
	public int getPort()
	{
		System.out.println("Entre com a porta:");
		return this.scanner.nextInt();
	}
	
	public void printMessage(final Message message)
	{
		System.out.println("Mensagem recebida: " + message);
	}
	
	public void printLog(final String log)
	{
		System.out.println(log);
	}
}
